[INFO] cloning repository https://github.com/BabyMelvin/mini-redis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BabyMelvin/mini-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBabyMelvin%2Fmini-redis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBabyMelvin%2Fmini-redis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 47ec2afecb0406209ffd52e565ac503e7735ceb1
[INFO] checking BabyMelvin/mini-redis against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBabyMelvin%2Fmini-redis" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BabyMelvin/mini-redis on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/BabyMelvin/mini-redis
[INFO] finished tweaking git repo https://github.com/BabyMelvin/mini-redis
[INFO] tweaked toml for git repo https://github.com/BabyMelvin/mini-redis written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/BabyMelvin/mini-redis already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d0ae74c99647080d14320ddfc2aac58695fff17c9b52b68fec00c2334b10b4e
[INFO] running `Command { std: "docker" "start" "-a" "8d0ae74c99647080d14320ddfc2aac58695fff17c9b52b68fec00c2334b10b4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d0ae74c99647080d14320ddfc2aac58695fff17c9b52b68fec00c2334b10b4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d0ae74c99647080d14320ddfc2aac58695fff17c9b52b68fec00c2334b10b4e", kill_on_drop: false }`
[INFO] [stdout] 8d0ae74c99647080d14320ddfc2aac58695fff17c9b52b68fec00c2334b10b4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf13a78fba99258060832985ad459f4890e0d64b3bb9c9da1074bb7b460f889f
[INFO] running `Command { std: "docker" "start" "-a" "cf13a78fba99258060832985ad459f4890e0d64b3bb9c9da1074bb7b460f889f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking tracing-core v0.1.28
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling serde v1.0.139
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling tokio v1.20.0
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking bytes v1.2.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking tracing-log v0.1.3
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking sharded-slab v0.1.4
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking atoi v0.3.3
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking pin-project v1.0.11
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking tokio-stream v0.1.9
[INFO] [stderr]     Checking mini-redis v0.4.1
[INFO] [stderr]     Checking my-redis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let res = client.get("hello").await;
[INFO] [stdout]   |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash`
[INFO] [stdout]  --> src/bin/server.rs:3:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{sync::{Arc, Mutex}, collections::HashMap, hash};
[INFO] [stdout]   |                                                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `HashMap` is imported redundantly
[INFO] [stdout]   --> src/bin/server.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::{sync::{Arc, Mutex}, collections::HashMap, hash};
[INFO] [stdout]    |                               -------------------- the item `HashMap` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 40 |     use std::collections::HashMap;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/bin/server.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use std::collections::HashMap;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `client`
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider adding a `main` function to `src/bin/client.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (bin "client") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0373]: async block may outlive the current function, but it borrows `client`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:8:27
[INFO] [stdout]    |
[INFO] [stdout] 8  |       let t1 = tokio::spawn(async {
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 9  | |         let res = client.get("hello").await;
[INFO] [stdout]    | |                   ------ `client` is borrowed here
[INFO] [stdout] 10 | |     });
[INFO] [stdout]    | |_____^ may outlive borrowed value `client`
[INFO] [stdout]    |
[INFO] [stdout]    = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
[INFO] [stdout] help: to force the async block to take ownership of `client` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 8  |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `client` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 8  |        let t1 = tokio::spawn(async {
[INFO] [stdout]    |  _______________-____________-
[INFO] [stdout]    | | ______________|
[INFO] [stdout]    | ||
[INFO] [stdout] 9  | ||         let res = client.get("hello").await;
[INFO] [stdout]    | ||                   ------ first borrow occurs due to use of `client` in generator
[INFO] [stdout] 10 | ||     });
[INFO] [stdout]    | ||_____-- argument requires that `client` is borrowed for `'static`
[INFO] [stdout]    | |______|
[INFO] [stdout]    |        first mutable borrow occurs here
[INFO] [stdout] 11 |
[INFO] [stdout] 12 |        let t2 = tokio::spawn(async {
[INFO] [stdout]    |   ___________________________^
[INFO] [stdout] 13 |  |         client.set("foo", "bar".into()).await;
[INFO] [stdout]    |  |         ------ second borrow occurs due to use of `client` in generator
[INFO] [stdout] 14 |  |     });
[INFO] [stdout]    |  |_____^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (bin "my-redis") due to 3 previous errors; 1 warning emitted
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash`
[INFO] [stdout]  --> src/bin/server.rs:3:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{sync::{Arc, Mutex}, collections::HashMap, hash};
[INFO] [stdout]   |                                                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `HashMap` is imported redundantly
[INFO] [stdout]   --> src/bin/server.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 3  | use std::{sync::{Arc, Mutex}, collections::HashMap, hash};
[INFO] [stdout]    |                               -------------------- the item `HashMap` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 40 |     use std::collections::HashMap;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/bin/server.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use std::collections::HashMap;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let res = client.get("hello").await;
[INFO] [stdout]   |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SharedDb` is never used
[INFO] [stdout]  --> src/bin/server.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type SharedDb = Arc<Vec<Mutex<HashMap<String, Vec<u8>>>>>;
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_shared_db` is never used
[INFO] [stdout]   --> src/bin/server.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn new_shared_db(num_shares: usize) -> SharedDb {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: async block may outlive the current function, but it borrows `client`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:8:27
[INFO] [stdout]    |
[INFO] [stdout] 8  |       let t1 = tokio::spawn(async {
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 9  | |         let res = client.get("hello").await;
[INFO] [stdout]    | |                   ------ `client` is borrowed here
[INFO] [stdout] 10 | |     });
[INFO] [stdout]    | |_____^ may outlive borrowed value `client`
[INFO] [stdout]    |
[INFO] [stdout]    = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
[INFO] [stdout] help: to force the async block to take ownership of `client` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 8  |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `client` as mutable more than once at a time
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 8  |        let t1 = tokio::spawn(async {
[INFO] [stdout]    |  _______________-____________-
[INFO] [stdout]    | | ______________|
[INFO] [stdout]    | ||
[INFO] [stdout] 9  | ||         let res = client.get("hello").await;
[INFO] [stdout]    | ||                   ------ first borrow occurs due to use of `client` in generator
[INFO] [stdout] 10 | ||     });
[INFO] [stdout]    | ||_____-- argument requires that `client` is borrowed for `'static`
[INFO] [stdout]    | |______|
[INFO] [stdout]    |        first mutable borrow occurs here
[INFO] [stdout] 11 |
[INFO] [stdout] 12 |        let t2 = tokio::spawn(async {
[INFO] [stdout]    |   ___________________________^
[INFO] [stdout] 13 |  |         client.set("foo", "bar".into()).await;
[INFO] [stdout]    |  |         ------ second borrow occurs due to use of `client` in generator
[INFO] [stdout] 14 |  |     });
[INFO] [stdout]    |  |_____^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my-redis` (bin "my-redis" test) due to 3 previous errors; 1 warning emitted
[INFO] [stdout] warning: type alias `SharedDb` is never used
[INFO] [stdout]  --> src/bin/server.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type SharedDb = Arc<Vec<Mutex<HashMap<String, Vec<u8>>>>>;
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_shared_db` is never used
[INFO] [stdout]   --> src/bin/server.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn new_shared_db(num_shares: usize) -> SharedDb {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "cf13a78fba99258060832985ad459f4890e0d64b3bb9c9da1074bb7b460f889f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf13a78fba99258060832985ad459f4890e0d64b3bb9c9da1074bb7b460f889f", kill_on_drop: false }`
[INFO] [stdout] cf13a78fba99258060832985ad459f4890e0d64b3bb9c9da1074bb7b460f889f
